package com.website.system.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;


public class ComputerDetails {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String dname;
    private String pid;
    private String dtype;
    private String color;
    @TableField("create_time")
    private String createTime;
    @TableField("shell_time")
    private String shellTime;
    private String picture;

   public String getDtype() {
        return dtype;
    }

    public void setDtype(String dtype) {
        this.dtype = dtype;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getShellTime() {
        return shellTime;
    }

    public void setShellTime(String shellTime) {
        this.shellTime = shellTime;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    @Override
    public String toString() {
        return "ComputerDetails{" +
                "id=" + id +
                ", dname='" + dname + '\'' +
                ", pid=" + pid +
                ", dtype=" + dtype +
                ", color='" + color + '\'' +
                ", createTime='" + createTime + '\'' +
                ", shellTime='" + shellTime + '\'' +
                ", picture='" + picture + '\'' +
                '}';
    }
}
